package com.wn.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * (Travelinfo)实体类
 *
 * @author makejava
 * @since 2020-10-26 09:41:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Travelinfo implements Serializable {
    private static final long serialVersionUID = 622339841938754997L;

    private String id;

    @Size(min = 2,message = "长度大于2个字符")
    private String cartype;

    @Size(min = 2,message = "长度大于2个字符")
    private String content;

    private String createuserid;

    private Date createtime;

    private String updatauserid;

    private Date updatetime;
    /**
     * 0未删除1已删除
     */
    private Integer isdeleted;

}